﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Arch.DomainServices.Metadata
{
    public class MetadataBuilder
    {
        public MetadataBuilder(DomainMetadataProvider metadataProvider)
        {
            MetadataProvider = metadataProvider;
        }

        public DomainMetadataProvider MetadataProvider { get; set; }

        public EntityBuilder<T> ForEntity<T>()
        {
            var entityBuilder = new EntityBuilder<T>(MetadataProvider);
            return entityBuilder;
        }
    }
}
